package cn.itcast.user.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FeignConfig {
    @Bean
    Logger.Level feignLoggerLevel(){
        return Logger.Level.FULL;

        /**
         * feign的日志输出策略
         * 4种，
         * none，默认，不输出
         * basic
         * headers
         * full，全部输出
         *
         *
         *
         */
    }
}
